package com.itheima.mapper;

import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.Map;

@Mapper
public interface SetmealGroupMapper {
    @Insert("insert into t_setmeal_checkgroup (setmeal_id, checkgroup_id) VALUES (#{setmealId},#{checkGroupId})")
    void addsetMealGroup(Map map);

    @Delete("delete from t_setmeal_checkgroup where setmeal_id=#{setmealId}")
    void delete(Integer setmealId);
}
